import fly from './fly'

export function list () {
  return fly.get('addresses')
}

export function show (id) {
  return fly.get('addresses/' + id)
}

export function store (data) {
  return fly.post('addresses', data)
}

export function update (id, data) {
  return fly.put('addresses/' + id, data)
}

export function del (id) {
  return fly.delete('addresses/' + id)
}
